package com.peanut.entity.vo;

import com.orm.annotation.TableFiled;
import com.peanut.entity.ApiUrl;
import com.peanut.entity.Menu;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ApiUrlTreeVo {
	private Integer id;
	private String apiUrl;
	private String comment;
	private Integer parentId;
	
	@TableFiled(exist = false)
	private List<ApiUrl> children;  // 二级接口
	
	public ApiUrlTreeVo() {
		children = new ArrayList<>();
	}
}
